package com.pzoom.open.anotation;

import java.lang.reflect.Method;

public class Main {
	public static void main(String[] args) throws Exception {
		descClass(Class.forName("com.pzoom.open.anotation.UseAnotation"));
	}

	@SuppressWarnings("all")
	public static void descClass(Class<?> classname) throws Exception {
		Method[] methods = classname.getDeclaredMethods();
		for (Method m : methods) { 
			if (m.getDeclaredAnnotations().length > 0) {
				MyAnotation myAnotation = m.getAnnotation(MyAnotation.class);
				if (myAnotation.tableName().equals("notablename")) {
					System.out.println("");
				}
			}
		}
	}
}
